<%--
    Document   : uniformar
    Created on : 10-ago-2011, 13:07:53
    Author     : pacoFELC
    Description: cambia la pelota a un equipo, gastando una carta de cambio de pelota
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="org.jdom.output.XMLOutputter"%>
<%@page import="org.jdom.Document"%>
<%@page import="com.bitoon.basketdudes.ws.*, com.bitoon.basketdudes.jpa.*, java.util.*" %><%
    int             codError    = 0;
    int             linea       = 0;
    CartasManager   ce= null;
    String          doc_xml     = null;

    try {
        ce = new CartasManager();
        doc_xml = ce.wsCambiarPelota(request,response);
    } catch (Exception e) {
        codError = -1;
        doc_xml = "error=" + linea;
    }
%><%=doc_xml%>